From 6087131ab6c9bbe84bcfa32c6056fc7af01e5e60 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 1 Jul 2011 00:51:56 -0400 Subject: [PATCH] Add a placeholder-text test Contributed by Joanmarie Diggs. --- tests/a11y/Makefile.am | 3 +- tests/a11y/placeholder-text.txt | 140 ++++++++++++++++++++++++++++++++ tests/a11y/placeholder-text.ui | 60 ++++++++++++++ 3 files changed, 202 insertions(+), 1 deletion(-) create mode 100644 tests/a11y/placeholder-text.txt create mode 100644 tests/a11y/placeholder-text.ui diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am index d6c824fc14..8c74fb0b70 100644 --- a/tests/a11y/Makefile.am +++ b/tests/a11y/Makefile.am @@ -50,4 +50,5 @@ EXTRA_DIST += \ paned.ui paned.txt \ iconview.ui iconview.txt \ entries.ui entries.txt \ - scale-drawvalue.ui scale-drawvalue.txt + scale-drawvalue.ui scale-drawvalue.txt \ + placeholder-text.ui placeholder-text.txt diff --git a/tests/a11y/placeholder-text.txt b/tests/a11y/placeholder-text.txt new file mode 100644 index 0000000000..a995de2556 --- /dev/null +++ b/tests/a11y/placeholder-text.txt @@ -0,0 +1,140 @@ +window1 + "window" + index: 0 + state: enabled resizable sensitive showing visible + toolkit: gail + + layer: window + alpha: 1 + box1 + "panel" + parent: window1 + index: 0 + state: enabled sensitive showing vertical visible + toolkit: gail + + layer: widget + alpha: 1 + entry1 + "text" + parent: box1 + index: 0 + state: editable enabled focusable sensitive showing single-line visible + toolkit: gail + placeholder-text: Subject or Addresses contain + + layer: widget + alpha: 1 + + text: + character count: 0 + caret offset: 0 + default attributes: bg-color: + bg-full-height: 0 + direction: + editable: false + family-name: + fg-color: + indent: 0 + invisible: false + justification: left + language: + left-margin: 0 + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + right-margin: 0 + rise: 0 + scale: 1 + size: + stretch: + strikethrough: false + style: + underline: none + variant: + weight: + wrap-mode: word + + action 0 name: activate + entry2 + "text" + parent: box1 + index: 1 + state: editable enabled focusable sensitive showing single-line visible + toolkit: gail + placeholder-text: Message contains + + layer: widget + alpha: 1 + + text: Some text + character count: 9 + caret offset: 0 + default attributes: bg-color: + bg-full-height: 0 + direction: + editable: false + family-name: + fg-color: + indent: 0 + invisible: false + justification: left + language: + left-margin: 0 + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + right-margin: 0 + rise: 0 + scale: 1 + size: + stretch: + strikethrough: false + style: + underline: none + variant: + weight: + wrap-mode: word + + action 0 name: activate + entry3 + "text" + parent: box1 + index: 2 + state: editable enabled focusable sensitive showing single-line visible + toolkit: gail + placeholder-text: Body contains + + layer: widget + alpha: 1 + + text: + character count: 0 + caret offset: 0 + default attributes: bg-color: + bg-full-height: 0 + direction: + editable: false + family-name: + fg-color: + indent: 0 + invisible: false + justification: left + language: + left-margin: 0 + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + right-margin: 0 + rise: 0 + scale: 1 + size: + stretch: + strikethrough: false + style: + underline: none + variant: + weight: + wrap-mode: word + + action 0 name: activate diff --git a/tests/a11y/placeholder-text.ui b/tests/a11y/placeholder-text.ui new file mode 100644 index 0000000000..4657cb5c63 --- /dev/null +++ b/tests/a11y/placeholder-text.ui @@ -0,0 +1,60 @@ + + + + + False + popup + + + True + False + vertical + + + True + True + ● + True + Subject or Addresses contain + + + False + True + 0 + + + + + True + True + ● + Some text + True + Message contains + + + False + True + 1 + + + + + True + True + True + True + ● + True + Body contains + + + False + True + 2 + + + + + + -- 2.30.2